<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
 
    
    <title>注册</title>
    
	
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/register.css">
  <script type="text/javascript" src="${pageContext.request.contextPath }/js/register.js"></script>
 
  </head>
  
  <body>
    <div id="sign_div">
	 <div id="p_title"><p >用户注册</p></div>
	<form name="form1" id="form1" action="${pageContext.request.contextPath }/servlet/RegisterServlet" method="post" >
		<table width="500" border="0" align="center" cellpadding="0" cellspacing="2" >
			<tr>
				<td width="143" height="25">用户名：</td>
				<td width="351" ><input class="text_kuang" type="text" name="username" id="username" size="38" onblur="ajax1()" value=${ registerform.username }>
				<span style="color:red;">${message }</span>
				</td>
			</tr> 
				<tr>
				<td width="143" height="25">密码：</td>
				<td width="351" ><input type="password" class="text_kuang" name="password" id="password" size="38" value=${ registerform.password }></td>
			</tr> 
				<tr>
				<td width="143" height="25">确认密码：</td>
				<td width="351" ><input type="password" class="text_kuang" name="password_again" id="password_again" size="38" value=${ registerform.password_again }></td>
			</tr> 
				<tr>
				<td width="143" height="25">收货地址：</td>
				<td width="351" ><input type="text" class="text_kuang" name="raddress" id="raddress" size="38" value=${ registerform.recive_address }></td>
			</tr> 
				<tr>
				<td width="143" height="25">联系电话：</td>
				<td width="351" ><input type="text" class="text_kuang" name="phone" id="phone" size="38" maxlength="11" value=${ registerform.phonenum }></td>
			
		
		</table>
		<div id="button_div" > <input type="button" id="sign" value="注册" onclick="regis()" ></div>
	</form>
	</div>
  </body>
</html>
